
#ifndef __W5500_ABS_H__
#define __W5500_ABS_H__

#define SOCK_TCPS        0
#define DATA_BUF_SIZE   2048

#include "main.h"
#include "spi.h"
#include "w5500.h"
#include "socket.h"

void	do_tcpc(void);
void 	W5500_ChipInit(void);

typedef struct _network_state
{
	uint8_t		tcpsn; 	
	uint8_t  	network_state;
	uint16_t 	rec_len;

}network_state_t;

extern network_state_t network_state;
#endif

